/* * To change this template, choose Tools | Templates * and open the template in the editor. */package knowledgebase.controller;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RequestParam;import org.springframework.web.bind.annotation.ResponseBody;import org.springframework.web.servlet.ModelAndView;/** * * @author eugene */@Controllerpublic class HelloController {    @RequestMapping("/hello")    public ModelAndView hello() {        return new ModelAndView("hello");    }        @RequestMapping("/test")    public @ResponseBody String test(@RequestParam String[][] arr) {        Log log = LogFactory.getLog(getClass());        log.info("\n**********\narr = "+arr[1] +"\n");        return "ok";    }}